using System;
using Volo.Abp.Application.Dtos;

namespace ThridGroup.ERP.DTO
{
    /// <summary>
    /// 赋码管理DTO
    /// </summary>
    public class CodingmanagementDto : EntityDto<int>
    {
        /// <summary>
        /// 条码
        /// </summary>
        public string? BarCode { get; set; }

        /// <summary>
        /// 条码格式
        /// </summary>
        public string? BarFormat { get; set; }

        /// <summary>
        /// 条码类型
        /// </summary>
        public string? BarTypes { get; set; }

        /// <summary>
        /// 条码内容  
        /// </summary>
        public string? BarContext { get; set; }

        /// <summary>
        /// 业务编码
        /// </summary>
        public string? BusinessCode { get; set; }

        /// <summary>
        /// 业务名称
        /// </summary>
        public string? BusinessName { get; set; }

        /// <summary>
        /// 是否生效
        /// </summary>
        public string? IsNo { get; set; }
    }

    /// <summary>
    /// 创建或更新赋码管理的DTO
    /// </summary>
    public class CreateUpdateCodingmanagementDto
    {
        /// <summary>
        /// 条码
        /// </summary>
        public string? BarCode { get; set; }

        /// <summary>
        /// 条码格式
        /// </summary>
        public string? BarFormat { get; set; }

        /// <summary>
        /// 条码类型
        /// </summary>
        public string? BarTypes { get; set; }

        /// <summary>
        /// 条码内容  
        /// </summary>
        public string? BarContext { get; set; }

        /// <summary>
        /// 业务编码
        /// </summary>
        public string? BusinessCode { get; set; }

        /// <summary>
        /// 业务名称
        /// </summary>
        public string? BusinessName { get; set; }

        /// <summary>
        /// 是否生效
        /// </summary>
        public string? IsNo { get; set; }
    }
} 